home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12452 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!usenet
  2. From: grantp@usa.pipeline.com(Pete Grant)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: HELP!! VB - DLL
  5. Date: 20 Mar 1996 01:47:50 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4ino46$c0e@news1.h1.usa.pipeline.com>
  8. References: <NEWTNews.24485.827267151.Postmaster@Jerusalem.netvision.net.il>
  9. NNTP-Posting-Host: 38.8.53.2
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete Grant)
  13. X-Newsreader: Pipeline v3.5.0
  14.  
  15. On Mar 19, 1996 12:24:35 in article <HELP!! VB - DLL>,
  16. 'iti@Jerusalem.netvision.net.il' wrote: 
  17.  
  18.  
  19. >I am trying to link a Visual Basic Application with a DLL (written in  
  20. >C++).  The definition of one of the functions in the DLL is ... 
  21. >extern "C" 
  22. >{    
  23. >    int FAR PASCAL __export myFunc (HWND clientWnd); 
  24.             ^^^^^^^^^^ 
  25. Add these two keywords.  (I'm assuming a 16-bit system.  If 
  26. not, e-mail me for instructions with VB4 and specify which 
  27. compiler you're using.O) 
  28.  
  29. -- 
  30. Pete Grant 
  31. Kalevi, Inc. 
  32. Software Engineering & development
  33.